package cn.iocoder.yudao.module.shop.controller.admin.shopbrand.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 商户品牌新增/修改 Request VO")
@Data
public class ShopBrandSaveReqVO {

    @Schema(description = "品牌编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "品牌名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "品牌名称不能为空")
    private String name;

    @Schema(description = "品牌图片", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "品牌图片不能为空")
    private String picUrl;

    @Schema(description = "品牌排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "品牌排序不能为空")
    private Integer sort;

    @Schema(description = "品牌简介")
    private String subject;

    @Schema(description = "品牌描述", example = "你说的对")
    private String description;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "01")
    @NotEmpty(message = "状态不能为空")
    private String status;

    @Schema(description = "适用的spu规则【simple、complex】", requiredMode = Schema.RequiredMode.REQUIRED, example = "simple")
    @NotEmpty(message = "适用的spu规则【simple、complex】不能为空")
    private String spuUseType;

}